from utils.mysqlPoole import myqlPoole as myp
class query_mysql:
    def __init__(self, strsql, dbname):
        self.str_sql = strsql
        self.db_name = dbname
    def query_list(self):
        m=myp(self.str_sql,self.db_name)
        return m.mysql_query()

